package com.mate.model;

import java.io.Serializable;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 演员表
 * </p>
 *
 * @author boy
 * @since 2020-05-15
 */
@TableName("m_actors_name")
public class MActorsName extends Model<MActorsName> {

    private static final long serialVersionUID = 1L;

    @TableField
    private Integer id;
    @TableField("actor_id")
    private Integer actorId;
    @TableField("movie_id")
    private Integer movieId;
    @TableField("a_name")
    private String aName;
    @TableField("a_pic")
    private String aPic;
    @TableField("create_time")
    private Date createTime;
    @TableField("is_delete")
    private String isDelete;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getActorId() {
        return actorId;
    }

    public void setActorId(Integer actorId) {
        this.actorId = actorId;
    }

    public Integer getMovieId() {
        return movieId;
    }

    public void setMovieId(Integer movieId) {
        this.movieId = movieId;
    }

    public String getaName() {
        return aName;
    }

    public void setaName(String aName) {
        this.aName = aName;
    }

    public String getaPic() {
        return aPic;
    }

    public void setaPic(String aPic) {
        this.aPic = aPic;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "MActorsName{" +
                ", id=" + id +
                ", actorId=" + actorId +
                ", movieId=" + movieId +
                ", aName=" + aName +
                ", aPic=" + aPic +
                ", createTime=" + createTime +
                ", isDelete=" + isDelete +
                "}";
    }
}
